From: Raimond Spekking Date: Wed, 16 Apr 2008 20:38:57 +0000 (+0000) Subject: Use existing CSS classes for input form aligning X-Git-Tag: 1.31.0-rc.0~48255 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=e1c665479c26fc326ff750bb7f358e06e3f92b1e;p=lhc%2Fweb%2Fwiklou.git Use existing CSS classes for input form aligning --- diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index 72ca7e652a..6c5232cec7 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -66,7 +66,7 @@ class MovePageForm { } function showForm( $err, $hookErr = '' ) { - global $wgOut, $wgUser, $wgContLang; + global $wgOut, $wgUser; $ot = Title::newFromURL( $this->oldTitle ); if( is_null( $ot ) ) { @@ -74,8 +74,6 @@ class MovePageForm { return; } - $start = $wgContLang->isRTL() ? 'right' : 'left'; - $end = $wgContLang->isRTL() ? 'left' : 'right'; $sk = $wgUser->getSkin(); $oldTitleLink = $sk->makeLinkObj( $ot ); @@ -111,7 +109,7 @@ class MovePageForm { $confirm = " - " . + " . Xml::checkLabel( wfMsg( 'delete_and_move_confirm' ), 'wpConfirm', 'wpConfirm' ) . " "; @@ -154,30 +152,28 @@ class MovePageForm { Xml::element( 'legend', null, wfMsg( 'move-page-legend' ) ) . Xml::openElement( 'table', array( 'border' => '0', 'id' => 'mw-movepage-table' ) ) . " - " . + " . wfMsgHtml( 'movearticle' ) . " - + {$oldTitleLink} - " . + " . Xml::label( wfMsg( 'newtitle' ), 'wpNewTitle' ) . " - " . + " . Xml::input( 'wpNewTitle', 40, $newTitle, array( 'type' => 'text', 'id' => 'wpNewTitle' ) ) . Xml::hidden( 'wpOldTitle', $oldTitle ) . " -
" . + " . Xml::label( wfMsg( 'movereason' ), 'wpReason' ) . " -
" . - Xml::openElement( 'textarea', array( 'name' => 'wpReason', 'id' => 'wpReason', 'cols' => 60, 'rows' => 2 ) ) . - htmlspecialchars( $this->reason ) . - Xml::closeElement( 'textarea' ) . + " . + Xml::tags( 'textarea', array( 'name' => 'wpReason', 'id' => 'wpReason', 'cols' => 60, 'rows' => 2 ), htmlspecialchars( $this->reason ) ) . " " ); @@ -186,7 +182,7 @@ class MovePageForm { $wgOut->addHTML( " - " . + " . Xml::checkLabel( wfMsg( 'movetalk' ), 'wpMovetalk', 'wpMovetalk', $moveTalkChecked ) . " " @@ -197,14 +193,14 @@ class MovePageForm { $wgOut->addHTML( " - " . + " . Xml::checkLabel( wfMsg( 'move-watch' ), 'wpWatch', 'watch', $watchChecked ) . " {$confirm}   - " . + " . Xml::submitButton( $movepagebtn, array( 'name' => $submitVar ) ) . " " .